package com.mebs.edi.parser.xml;

import java.io.File;
import java.util.List;

import org.xml.sax.SAXParseException;

public class XmlValidationException extends Exception {

	private static final long serialVersionUID = 1L;
	
	private List<SAXParseException> validationErrors;
	private File xml;
	
	public XmlValidationException(String message, File xml, List<SAXParseException> validationErrors) {
		super(message);
		this.validationErrors = validationErrors;
		this.xml = xml;
	}

	public List<SAXParseException> getValidationErrors() {
		return validationErrors;
	}

	public File getXml() {
		return xml;
	}
	
}
